package org.demo.patten.state;

/**
 * @author zhuj
 * @date 2025/3/29
 * @apiNote
 */
public class DraftState implements OrderState {
    public void handle(OrderContext context) {
        System.out.println("当前状态：草稿，提交订单...");
        context.setState(new SubmittedState());
    }
}